// 封装用户请求的相关方法
import request from "../utils/request";

export const login = (data) => {
  return request({
    method: "POST",
    url: "/login",
    data,
    headers: {
      "Content-Type": "application/json",
    },
  });
};
